<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.js"></script>

    <script>


/*
        $.post("http://localhost:8080/hi",{name:"zs"},function(data,status){

            alert("数据:"+data);
            alert("状态:"+status);
        });*/

        $.ajax({
            url:"http://localhost:8080/hi",
            type:"delete",
            data:{"name":"asd"},
            success:function(res){
                alert(res);
            }

        })
    </script>

</head>
<body>

</body>
</html>